<div>
    <div id="Container">
        <div class="postItemTabs">
            <a id="tabEditItem" class="itemTabSelect">
                <div class="itemTabLeft left">
                    <div class="itemTabRight">{$mode} SẢN PHẨM</div>
                </div>
            </a>
            <a id="tabPreviewItem" class="itemTab" href="manage_item.html">
                <div class="itemTabLeft left">
                    <div class="itemTabRight">Quản lý sản phẩm</div>
                </div>
            </a>
            {if $item_href}
            <a id="tabPreviewItem" class="itemTab" href="{$item_href}">
                <div class="itemTabLeft left">
                    <div class="itemTabRight">Chi tiết sản phẩm</div>
                </div>
            </a>
            {/if}
        </div>

        <div id="editItem" class="postItemContent">
            <div id="postItemForm">
                <div class="postItemFormContent">
                	 <center>
                        Chọn kiểu gõ&nbsp;&nbsp;
                     <input id="auto" type="radio" value="1" name="typer" onclick="return Mudim.SetMethod(4);">
                        <label for="auto">&nbsp;Tự động &nbsp;&nbsp;</label>
                        <input id="telex" checked type="radio" value="1" name="typer" onclick="return  Mudim.SetMethod(2);">
                        <label for="telex">&nbsp;Telex &nbsp;&nbsp;</label>
                        <input id="vni" type="radio" value="1" name="typer" onclick="return  Mudim.SetMethod(1);">
                        <label for="vni">&nbsp;VNI &nbsp;&nbsp;</label>
                        <input id="off" type="radio" value="0" name="typer" onclick="return Mudim.SetMethod(0);">
                        <label for="off">&nbsp;Tắt</label>
                    </center>
                    {if $msg}<div style="tex-align:center; width:100%;margin:10px 0 0 30px; color:red;">{$msg}</div>{/if}
                    
                 	<div class="mt10 bold">
                        Tên sản phẩm: <input type="text" id="name" name="name" value="{$name}" style="width:637px"/>
                    </div>
                    <div class="mt10 bold">
                       Mã hàng (SKU): <input type="text" id="sku" name="sku" value="{$sku}" style="width:637px"/> (mã sản phẩm tại kho hàng) 
                </div>
                    <div class="mt10 bold">
                        Thông tin khuyến mại (nếu có): <input type="text" id="offer" name="offer" value="{$offer}" style="width:637px"/>
                    </div>
                    
                    <div class="mt10 bold">
                    Thông tin vắn tắt: (Dùng trong list Sản phẩm)
                    </div>
                    <textarea name="list_brief" id="list_brief" style="width:640px;height:60px">{$list_brief}</textarea>
                    
                    
                    <script type="text/javascript" src="javascript/tinymce336/jquery.tinymce.js"></script>
                    <div class="mt10 bold">
                    Mô tả vắn sản phẩm: (Trong chi tiết Sản phẩm)
                    </div>
                    <textarea name="brief" id="brief" class="tinymce" style="width:640px;height:336px">{$brief}</textarea>
                    
                    <div class="mt10 bold">
						Thông số kỹ thuật
                    </div>
                    <textarea name="item_description" id="item_description" class="tinymce" style="width:640px;height:363px">{$item_description}</textarea>

                    <div class="postItemOther">
<table cellpadding="5" cellspacing="1" border="0" width="100%">
                        	<tr>
                            	<td width="25%" valign="top">
                                	<div class="postItemOther-title">Chọn danh mục <font style="color:#FF0000;font-weight:normal;">(*)</font></div>
                                </td>
                                <td width="75%" valign="top">
                               	  <div class="postItemOther-opt" style="padding-bottom:5px;">
                                        <select name="first_combo" id="first_combo" style="width:216px;height:20px"><option value="0">---Chọn danh mục---</option></select>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                            	<td valign="top">
                                	 <div class="postItemOther-title">Chọn danh mục cấp 2 <font style="color:#FF0000;font-weight:normal;">(*)</font></div>
                                </td>
                                <td valign="top">
                               	    <div class="postItemOther-opt">
                                		<select name="second_combo" disabled="disabled" id="second_combo" style="width:216px;height:20px"><option value="0">---Chọn danh mục cấp 2---</option></select>
                            		</div>
                                </td>
                            </tr>
                            <tr>
                            	<td colspan="2" valign="top">
                                    <div id="item_filter"></div>
                                </td>
                            </tr>
                             <tr>
                               <td valign="top">
                               </td>
                               <td valign="top"><div id="submit_btn" style="float:right;margin:0" class="GuiPH" onmouseover="this.className='GuiPH_Over';if(is_submit) this.style.cursor='default';" onmouseout="{literal}if(is_submit){this.className='GuiPH_Over';this.style.cursor='default';} else this.className='GuiPH';{/literal}" onclick="jQuery('#PostItemForm').submit();">{$mode}</div></td>
                             </tr>
                             <tr>
                            	<td valign="top">
                                	<div class="postItemOther-title">Giá bán</div>
                                </td>
                                <td valign="top">
                                	<div class="postItemOther-opt" style="margin-top:-8px">
                                      <input name="price" type="text" id="price" value="{$price}" maxlength="20"  style="height:16px;width:154px;margin-top:3px;*margin-top:-2px" class="tAR"/> <select name="currency_id" id="currency_id" style="height:22px;width:50px;font-weight:bold;color:#6d6d6d">{$currency_id_option}</select>
                                      <br /> <font style="color:#cccccc;font-weight:normal;font-size:11px;line-height:12px"> (Giá chỉ được nhập kiểu số)</font>
                                  </div>
                                </td>
                            </tr>
                             <tr>
                            	<td valign="top">
                                	 <div class="postItemOther-title">Giá thị trường <br /> <font style="color:#cccccc;font-weight:normal;font-size:11px;line-height:5px">( Nếu có )</font></div>
                                </td>
                                <td valign="top">
                                       <div class="postItemOther-opt" style="*margin-top:-12px">
                                      <input name="price_out" type="text" id="price_out" value="{$price_out}" maxlength="20" style="height:16px;width:154px;margin-top:3px;*margin-top:-2px" class="tAR"/> <span class="currency" style="font-weight:bold"></span>
                                        <br />
                                    </div>
                                </td>
                            </tr>
                             <tr>
                            	<td valign="top">
                                	 <div class="postItemOther-title">Số lượng</div>
                                </td>
                                <td valign="top">
                                	 <div class="postItemOther-opt" style="*margin-top:5px"><span class="postItemOther-opt" style="*margin-top:5px">
                            <input name="quantity" type="text" id="quantity" value="{$quantity}" maxlength="20" style="height:16px;width:154px;margin-top:3px;*margin-top:-2px" class="tAR"/>
                          </span></div>
                                </td>
                            </tr>
                            <tr>
                            	<td valign="top">
                                	<div class="postItemOther-title">Số thứ tự sp</div>
                                </td>
                                <td valign="top">
                                	 <div class="postItemOther-opt" style="*margin-top:5px">
                              <input name="item_order" type="text" id="item_order" value="{$item_order}" maxlength="20" style="height:16px;width:154px;margin-top:3px;*margin-top:-2px" class="tAR"/> 
                            </div>
                                </td>
                            </tr>
                            <tr>
                            	<td valign="top">
                                	<div class="postItemOther-title">Xuất xứ</div>
                                </td>
                                <td valign="top">
                                	<div class="postItemOther-opt" style="*margin-top:5px">
                                <input name="made_in" type="text" id="made_in" value="{$made_in}" maxlength="20" style="height:16px;width:154px;margin-top:3px;*margin-top:-2px"/> 
                            </div>
                                </td>
                            </tr>
                            <tr>
                            	<td valign="top">
                                	 <div class="postItemOther-title">Bảo hành</div>
                                </td>
                                <td valign="top">
                                	  <div class="postItemOther-opt" style="*margin-top:5px">
                                <input name="warranty" type="text" id="warranty" value="{$warranty}" maxlength="20" style="height:16px;width:154px;margin-top:3px;*margin-top:-2px"/> 
                            </div>
                                </td>
                            </tr>
                        </table>
                        
                          
                        <div class="c"></div>               
                    </div>
                </div>
            </div>
			{$post_img}
        </div>        
    </div>
</div>
<input value="submit" type="submit" style="display:none;" />
<input value="{$rand_post_ss}" type="hidden" name="rand_post_ss" id="rand_post_ss" />